package com.ibigcat.module.mdm.controller.admin.commoditygroup.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.ibigcat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.ibigcat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 组套商品管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CommodityGroupPageReqVO extends PageParam {

    @Schema(description = "组套商品编码")
    private String groupCode;

    @Schema(description = "组套商品名称", example = "赵六")
    private String groupName;

    @Schema(description = "客户编码")
    private String customerCode;

    @Schema(description = "组套商品来源")
    private String source;

    @Schema(description = "包含商品数", example = "18171")
    private Integer commodityCount;

    @Schema(description = "子商品总数")
    private Long allQuantity;

    @Schema(description = "商品说明", example = "你说的对")
    private String remark;

    @Schema(description = "启停状态")
    private Boolean disabled;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}